package com.example.basicdemo.model.domain;

import java.util.Date;

/**
 * 系统组织信息
 */
public class SysRentalInfoDomain extends RentalTreeNodeDomain{

    /**
     * 组织编号
     */
    private String code;

    /**
     *组织名称
     */
    private String rentalNickName;

    /**
     *组织全称
     */
    private String rentalName;

    /**
     *排序规则
     */
    private Integer seq;

    /**
     *负责人ID
     */
    private String uuid;

    /**
     *负责人姓名
     */
    private String uname;

    /**
     *类型(1:企业架构,2:合作方架构)
     */
    private Integer type;

    /**
     *机构类型
     */
    private Integer rentalTypeId;

    /**
     *备注
     */
    private String remark;

    /**
     *是否生效
     */
    private Boolean isValid;

    /**
     *创建时间
     */
    private Date gmtCreate;

    /**
     *修改时间
     */
    private Date gmtModified;

    /**
     *是否有权限
     */
    private Boolean hasAcl;

    /**
     *是否可编辑
     */
    private Boolean editable;

    public String getCode() {
        return code;
    }

    public SysRentalInfoDomain setCode(String code) {
        this.code = code;
        return this;
    }

    public String getRentalNickName() {
        return rentalNickName;
    }

    public SysRentalInfoDomain setRentalNickName(String rentalNickName) {
        this.rentalNickName = rentalNickName;
        return this;
    }

    public String getRentalName() {
        return rentalName;
    }

    public SysRentalInfoDomain setRentalName(String rentalName) {
        this.rentalName = rentalName;
        return this;
    }

    public Integer getSeq() {
        return seq;
    }

    public SysRentalInfoDomain setSeq(Integer seq) {
        this.seq = seq;
        return this;
    }

    public String getUuid() {
        return uuid;
    }

    public SysRentalInfoDomain setUuid(String uuid) {
        this.uuid = uuid;
        return this;
    }

    public String getUname() {
        return uname;
    }

    public SysRentalInfoDomain setUname(String uname) {
        this.uname = uname;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public SysRentalInfoDomain setType(Integer type) {
        this.type = type;
        return this;
    }

    public Integer getRentalTypeId() {
        return rentalTypeId;
    }

    public SysRentalInfoDomain setRentalTypeId(Integer rentalTypeId) {
        this.rentalTypeId = rentalTypeId;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public SysRentalInfoDomain setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Boolean getValid() {
        return isValid;
    }

    public SysRentalInfoDomain setValid(Boolean valid) {
        isValid = valid;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public SysRentalInfoDomain setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public SysRentalInfoDomain setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
        return this;
    }

    public Boolean getHasAcl() {
        return hasAcl;
    }

    public SysRentalInfoDomain setHasAcl(Boolean hasAcl) {
        this.hasAcl = hasAcl;
        return this;
    }

    public Boolean getEditable() {
        return editable;
    }

    public SysRentalInfoDomain setEditable(Boolean editable) {
        this.editable = editable;
        return this;
    }
}
